package com.shuma.approval.controller;

import com.shuma.approval.dto.R;
import com.shuma.approval.service.IOperatorLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OperatorLogController {
    @Autowired
    private IOperatorLogService operatorLogService;
    /**
     * 获取商品操作记录
     * @param id
     * @return
     */
    @GetMapping("/product/queryLog/{id}")
    public R list(@PathVariable Long id){
        return operatorLogService.VOList(id);
    }

}
